The time remaining until an option's expiration has monetary value associated with it, which is known as time value. The more time that remains before the option's expiry the more possibilities there are for your desired outcome to occur, therefore more time value is embedded in the option's premium.