The warp core multiblock structure is responsible for providing the fuel input for the starship as well as moving it around. Dilithium crystals can be put into the top of the structure for fuel. Though the warp core is a necessary component of the starship. The warp controller is responsible for actually choosing the destination of the starship.
A warp core block placed on a rocket allows the rocket to travel to other planets in the same solar system.