Commensalism is a type of symbiotic relationship between two organisms in which one benefits while the other is neither helped nor harmed. An example of commensalism is barnacles attaching to a whale; the barnacles gain a place to live and access to food while the whale remains unaffected. This interaction highlights the complexity of ecological relationships, showcasing how organisms can coexist in varied ways.