A system for providing integrated guidance for positioning a needle in a body has two levels of guidance: a coarse guidance and a fine guidance. The system includes a non-invasive tracking system for tracing the biopsy device in the body, for providing the coarse guidance. Furthermore, the system includes an optical detector mounted on the needle for obtaining optical information discriminating tissue in the body, for providing the fine guidance.