i hear a lot about people betting draws like for ex. when someone flops a 4-flush. could someone explain the reasoning behind this?

I'm just wondering because I've seen hand histories (no specific ones that I can remember unfortunately) where people generally agreed that betting a draw like this was correct despite the pot odds not being there.