Isnt it invariant an adjective?
Because that's the way English is.
"Invariant" is indeed an adjective, but it is also a noun referring to something that has the property of being invariant. In the (tautological) sentence "I know that this quantity is an invariant because it is invariant", the word "invariant" is used twice, once a noun and once as adjective.
And "invariance" is also noun, but it refers to the property that is described by the adjective, not to an object that has that property: "I know that this quantity is an invariant because is invariant, which is to say that it has the property of invariance".
English is weird. I love it for its quirkiness and expressive power, but it's still weird.
Separate names with a comma.