Irrelevant details are pieces of information that do not contribute to the main idea or purpose of a text. They can distract the reader, disrupt the flow of writing, and diminish the overall coherence and cohesion of a piece. Focusing on relevant details ensures that the message is clear and effective, while irrelevant information can lead to confusion and misinterpretation.