Bonus Share is something that the company offers to its shareholder’s extra shares for free. Just the number of shares increases, your investment remains the same.
Note – You must buy the shares before the Ex-date & sell after the Record Date to be eligible for the Bonus Shares if you didn’t hold that company’s shares.