The less time there is until expiry, the less value an option will have. This is because the chances of a price move in the underlying stock diminish as we draw closer to expiry. This is why an option is a wasting asset. If you buy a one-month option that is out of the money, and the stock doesn’t move, the option becomes less valuable with each passing day. Since time is a component to the price of an option, a one-month option is going to be less valuable than a three-month option. This is because with more time available, the probability of a price move in your favor increases, and vice versa.
When buying or selling options, the investor or trader has the right to exercise that option at any point up until the expiration date - so simply buying or selling an option doesn't mean you actually have to exercise it at the buy/sell point. Because of this system, options are considered derivative securities - which means their price is derived from something else (in this case, from the value of assets like the market, securities or other underlying instruments). For this reason, options are often considered less risky than stocks (if used correctly).