Most of an organic molecule is a carbon-hydrogen backbone, and C–H bonds are not very reactive. The interesting chemistry happens where something else is attached: an oxygen, a nitrogen, a halogen, or a C=C double bond. That attached cluster of atoms is the functional group. Because it reacts in much the same way wherever it sits, you can predict how a molecule you have never seen will behave by recognizing its group.
A few groups cover a lot of chemistry. Hydroxyl, –OH, makes an alcohol such as ethanol; it can hydrogen bond, so small alcohols dissolve in water. Carboxyl, –COOH, makes a carboxylic acid such as acetic acid; it releases H⁺ in water, so vinegar tastes sour and fizzes with baking soda. An ester, with –COO– linking two carbon parts, forms when an acid and an alcohol join and give off a water molecule; ethyl acetate, made from acetic acid and ethanol, smells like pear drops and is used in some nail polish removers. Amino, –NH₂, makes an amine, which is basic like ammonia.
The molecular formula does not reveal the group. C₂H₆O can be ethanol, CH₃CH₂OH, with an –OH, which boils at 78 °C and mixes with water; or dimethyl ether, CH₃OCH₃, with a C–O–C link, which boils at −24 °C. Same atoms, different groups, different substances. To find the group, read the structural formula, not the molecular one.
Think of it like this. Functional groups are like the attachments on a power drill. The drill body, the carbon chain, is much the same every time; snap on a drill bit, a screwdriver head, or a sanding pad and the tool does a completely different job. A longer or shorter body changes how the tool handles, not what kind of job it does.
Core idea. An organic molecule's behaviour is set mostly by its functional groups, small clusters such as –OH or –COOH attached to the carbon skeleton, so molecules that share a group share typical properties and reactions.