Whispering is just a private message inside the chat window, and the visual cue tells you whether you are in one.
Click the person you want to whisper to, or the person who is whispering to you, and choose "Whisper" from the options. Then type as normal.
Your chat bar turns orange when you are in a whisper. If it is not orange, you are still in public chat and everything you type is visible to the room. This is the single most common mistake, and it is worth glancing at the colour before you hit enter.
Private does not mean safe. Anything sent in a whisper can be screenshotted and shared, so do not treat it as a place for information you would not want repeated.