The Horta were an illustration that there are plenty of life forms in the Star Trek universe that are not remotely humanoid.