Existence of rational curves on algebraic varieties, minimal rational tangents, and applications