Research in the field of robotics is tightly connected to simulation tools for many reasons. On one side, simulation supports the development of new advanced control algorithms and on the other side, it is always not feasible to build a whole robot system to test some algorithms or it is not safe to perform tests on a real system (at least in the first design stages). The simulation has also a very important role for off-line programming, to design mechanical structure of robots, to design robotic cells and production lines, etc. In the paper, an overview of the simulation in robotics is given and some topics like: how simulation makes things easier, advantages and backdraws of the simulation in robotics, virtual and real world, are pointed out. The scope of the paper is the role of the simulation in different fields of robotics, especially the dynamic simulation of robot manipulators. We present an integrated environment for the design and testing of advanced robot control schemes. The main capabilities of such environment are: the simulation of the kinematics and dynamics of manipulators, the integration of different sensor systems like vision and force sensors, scenarios for complex robot tasks, the visualization of robots and their environment and the integration of real robots in the simulation loop. We give an overview of simulation and visualization tools suitable for the simulation of robot systems using general dynamic engines and graphic languages. Finally, we present some typical simulation examples in different fields of robotics from offline programming, mobile robots to space robotics.