What is meant by Lanthanoids and Actinoids?

The fourteen elements after La (57) are called Lanthanoids and the fourteen elements after Ac (89) are called Actinoids.