When an investor purchases a SAFE, they provide capital to the company in exchange for the right to receive shares at a future equity financing event, such as a Series A round. The number of shares the investor will receive is typically determined by the valuation of the company at the time of the financing round. SAFEs may include provisions such as valuation caps and discounts to protect the investor's interests.