Enemies know that you are present and can use their senses to target you. Generally this requires the enemy creature's most honed and effective sense, like sight for most creatures. Some creatures use other senses as their primary sense.