Definition: unions in C and Python

Unions are basically the same as structs except that in a union all variables have the same memory location. This makes it easy to store the same value in different datatypes.

c-programming-tutorial