Mathematically speaking, survival analysis (sometimes called reliability analysis) studies the stochastic behaviour of various kinds of quantities relating to non-negative random variables $T_1,...,T_n$ that we call "survival times" or "times-to-failure". The analysis usually involves observation of the survival status or survival times (sometimes censored) of a set of people/objects, and an attempt to make an inference to the underlying "hazard" operating on those objects.
Survival analysis is usually framed in terms of times for survival of people/objects in a hazardous process. However, mathematically speaking, it is just probabilistic analysis on a set of non-negative random variables; in principle, these could represent something other than time (e.g., spacial distance from an origin, etc.). Consequently, it is possible for the mathematics of survival analysis to be used to problems that have nothing to do with survival, but which involve the stochastic analysis of a set of random non-negative quantities.
A rough introduction to the setup and scope of survival analysis: The usual mathematical set-up of survival analysis goes like this. Suppose we have non-negative times-to-failure $T_1,...,T_n \sim \text{IID Dist}$ for a set of $n$ people/objects/components. Depending on which representation is convenient in a particular context, the unknown distribution of the time-to-failure can be represented equivalently by its CDF, its survival function, its density/mass function, or its hazard function. (Since we are dealing with non-negative random variables, the survival function and hazard function are particularly useful ways of expressing the distribution.)
Standard survival analysis problems involve an attempt to estimate the underlying distribution of the times-to-failure (or at least some probabilities or moments from this distribution) using various kinds of observations relating to the times. Standard situations examined in survival analysis are the following observational/inference problems:
Observing failure/non-failure: We observe the times-to-failure $t_1,...,t_n$, and we use these to try to estimate the underlying distribution.
Observing with right/left censorship: For some/all of the objects of interest, we observe a censored version of the time-to-failure, such as $\max(T_i, t_0)$ (left censoring) or $\min(T_i, t_0)$ (right censoring), and we use these to try to estimate the underlying distribution.
Observing survival indicators at a fixed time: For some/all of the objects of interest, we observe the survival indicators $\mathbb{I}(T_i > t)$, and we use these to try to estimate some probabilities pertaining to the underlying distribution.
Observations of combinations of people/objects/components: For some/all cases, we observe survival outcomes only through series or parallel systems (or more complicated systems) of individual people/components. For example, in a pure series system we observe the system time-to-failure $\min(T_1,...,T_n)$, or in a pure parallel system we observe the system time-to-failure $\max(T_1,...,T_n)$. (In more complex systems we might observe some more complex function of the times-to-failure.) Here we observe a time-to-failure from a "system" and we attempt to estimate the underlying distribution for the time-to-failure of the components.
Combinations of the above: Some complex survival problems involve combinations of the above. For example, we might observe a complex system and also have censoring issues in our observations, or we might observe some times-to-failure directly and observe others only through indicators at fixed times. Some complex problems in survival analysis involve a complicated interplay between systems/components and direct observation, censored observation, or mere survival observation (i.e., observation of indicators for times-to-failure).