We investigate the motion of a test particle in higher dimensions due to the presence of extended sources like Dp-branes by studying the motion in the transverse space of the brane. This is contrasted with the motion of a point particle in the Schwarzschild background in higher dimensions. Since Dp-branes are specific to 10-dimensional spacetime and exact solutions of geodesic equations for this particular spacetime has not been possible so far for the Schwarzschild background, we focus here to find the leading order solution of the geodesic equation (for motion of light rays). This enables us to compute the bending of light in both the backgrounds. We show that contrary to the well known result of no noncircular bound orbits for a massive particle, in Schwarzschild background, for d ≥ 5, the Dp-brane background does allow bound elliptic motion only for p = 6 and the perihelion of the ellipse regresses instead of advancement. We also find that circular orbits for photon are allowed only for p ≤ 3.