Urban planning affects public health through multiple channels. Poorly designed cities can lead to increased pollution, limited access to healthcare facilities, and insufficient spaces for physical activities. On the other hand, well-planned cities can promote a healthier lifestyle by providing green spaces, reducing pollution, and ensuring accessibility to essential services.