Why do companies hold cash and marketable securities? What

Why do companies hold cash and marketable securities? What drives this result? Please keep in mind that it is a research answer and it has to be on a public or private company that generates cash and positive working capital on a regular basis. And if possible, I would like to see charts or graphics.