Microscopic robots operate based on principles of nanotechnology and are typically powered by chemical reactions, electromagnetic fields, or even light. They can be controlled remotely or operate autonomously using pre-programmed instructions. The functionality of these robots is heavily dependent on their nanostructure and the materials used in their construction.