raising chickens anyone?

Hi, I'm thinking of buying baby chicks and raising them as pets/friends/source of organic eggs. Are there are prospective issues that could arise from someone with  personal experience? 
How can you leave them unattended???