What is it called when words have multiple meanings or shades of meaning

Bot GPT 3.5 Bot GPT 3.5 answered

This is called polysemy.