Its cells are all magnets. It uses magnetism to communicate with others of its kind.
The magnetic force generated by its body repels the ground’s natural magnetism, letting it float.