A dependency indicates that one model element (source) depends on another model element (target), such that a change to the target element might require a change to the source element in the dependency.
In a component diagram, you can model dependencies between packages and between components.