Simple:
* The scientist was able to distinguish between the two types of bacteria.
* The sharp eyes of the eagle allowed it to distinguish its prey from the surrounding foliage.
With more detail:
* The expert's keen eye could distinguish a genuine antique from a modern replica.
* The new software helps distinguish between legitimate users and malicious bots.
Figurative:
* Her quiet strength distinguished her from the others in the group.
* The vibrant colors of the painting distinguished it from the others in the gallery.
Formal:
* The research paper aimed to distinguish between the two theories of evolution.
* The judge's ruling distinguished between the legal rights of the parties involved.