Literally:

The word “Hajj” means heading for an honorable person or place.

Legally:

Hajj means worshipping Allah by performing the Hajj rituals, which are defined as specific acts performed at a specific time and place in a specific way.

There is agreement among Juristic schools over the Hajj definition.