We use 'consist' to talk about what things something is made of. It shows the parts or members of a whole.
This cake consists of eggs and flour.
The team consists of five players.
We use 'consist' to say something depends on or is about one thing. It shows the main idea or quality inside.
Happiness consists in good health.
Success consists in hard work.
We say 'consist with' to show ideas or facts agree or fit well together. It means they do not conflict.
Your story does not consist with the facts.
Her views do not consist with mine.
In the army or military, 'consist' shows what groups or parts make up a bigger unit.
The battalion consists of three companies.
The squadron consists of twenty planes.
Here, 'consist' means something stays the same or does not change, often a problem or state.
Their argument consists despite evidence.
The problem consists even after help.