Is a pen used for writing?

yes, of course it is unless it is a stylus pen which can be used for a Nintendo DS or and stylus phone. If it is a laser pen then the answer to your question is no.