If dark matter is 'invisible,' how do we know it exists?

Dark matter is the mysterious substance that accounts for most of the universe's mass, but it doesn't interact with light, making it effectively invisible. So how do astronomers know dark matter exists?

If dark matter is 'invisible,' how do we know it exists?
Dark matter is the mysterious substance that accounts for most of the universe's mass, but it doesn't interact with light, making it effectively invisible. So how do astronomers know dark matter exists?