Cooking as a hobby involves preparing food for enjoyment rather than for necessity. It allows individuals to explore their creativity, experiment with flavors and techniques, and often serves as a form of relaxation or stress relief.