If you really want to know what the EU is then you must read the EU Treaties – both of them, as amended:
- The Treaty of the EU (TEU) – originally the Maastricht Treaty
- The Treaty for the Functioning of the EU (TFEU) – originally the Treaty of Rome
Here they are in one document: