A synthetic position mimics another position using different instruments. You can create synthetic stock using options, or synthetic options using stock and options.
Buy a call and sell a put at the same strike. This behaves like owning 100 shares. If the stock rises, the call gains value. If the stock drops, the short put loses value. The net effect matches stock ownership.
Example: Stock at 100. Buy the 100 call for 5. Sell the 100 put for 5. Net cost is zero. If the stock goes to 110, the call is worth 10 and the put expires. You made 10, same as owning shares. If the stock drops to 90, the put is worth 10 and you lose 10.
Sell a call and buy a put at the same strike. This behaves like shorting 100 shares. You profit if the stock drops and lose if it rises.
Capital efficiency. A synthetic long might require less capital than buying shares. Flexibility. You can adjust the position by changing strikes. Tax reasons. Options and stock are taxed differently in some cases.
Assignment. The short option can be assigned early. You might end up with actual shares or a short position. Dividends. Synthetic positions do not receive dividends. If the stock pays a dividend, you miss it. Pin risk. At expiration, you might be assigned unexpectedly.
Synthetic positions work because of put call parity. The relationship between calls, puts, and stock is fixed. If it gets out of line, arbitrage traders step in. This keeps synthetics priced fairly.