would sarcasm be also considered as ironic?

Yes.

http://www.sarcasmsociety.com/irony/howtorecognizeirony

Ironic is like coincedence

Yes, sarcasm can be considered a form of irony. Irony is a literary or rhetorical device that uses contradictory or opposite elements to convey a meaning or create an effect. It involves saying or expressing something that is different from or contradictory to what is expected. Sarcasm, on the other hand, is a form of speech or writing that says the opposite of what is meant, typically in a mocking or satirical way.

To understand if sarcasm is being used in a statement, you can consider the context and the tone of the speaker/writer. Sarcasm is often characterized by an exaggerated or mocking tone, and the meaning is usually conveyed through the delivery rather than the literal words used. Understanding sarcasm generally requires recognizing the discrepancy between the explicit meaning of the words and the intended meaning conveyed through tone or context.