Part Modeling > Base Features > Extrude > Basics of the Extrude Feature > Example: To Selected Options
  
Example: To Selected Options
In this example, an extrusion is created using the depth option To Selected. You can extrude the sketch onto a surface, an offset of the surface, or a translation of the surface.
The sketch and the surface
Extrude the sketch to the surface
Extrude the sketch to an offset of the surface
Extrude the sketch to a translation of the surface