In the solar system, all of the planets are on the same plane, but there are lots of smaller objects which have orbits which are at angles to the plane of the planets.
As for the galaxy, it is also roughly flat, and has a diameter about 100 times larger than it's thickness. Within the galaxy, the stars have planetary systems which are aligned randomly at all different angles to the plane of the galaxy.