Yes you can sell options (known as writing options).
Risk of writing a call is similar to shorting the futures....higher the stock moves..bigger are your losses.
Risk of writing a put is similar to buying futures...lower the stock goes...bigger are your losses.
However the scope for profit is limited to the option price.
Sometimes the options may get exercised.
For example a stock is at Rs 90 and you sell 95 call option for Rs 2.
Now suppose the stock moves to Rs 105 and the value of the option becomes (approximately) Rs 11.
The buyer of the option wants Rs 11 for his 95 call option, but there are no buyers.
So what will he do?
He exercises his option...which is equivalent of asking to buy the stock at Rs 95 (as it is a call option.)
So the exchange will give him the price difference between the market price of the stock and the call option strike price.
This will be Rs 10.
This Rs 10 comes from
any one option writer who wrote a 95 call option. This may be any one.
It is not necessary that just because you sold the option to the particular person, you have to pay when he exercises his option.
Any one option writer is chosen randomly by the exchange.
If you still have doubts, please ask.

.