Another way to say "Pens and pencils are used for writing." is "You use pens and pencils to write things."