How do specialized structures within a cell, such as organelles, contribute to its overall function and the maintenance of homeostasis?