Survival analysis is used to analyze time-to-event data from clinical studies where some subjects may be censored. Survival time refers to the time from treatment start to an endpoint. Censoring occurs when the exact event time is unknown. The Kaplan-Meier method estimates the survival function by assigning weights to observations and redistributing weights from censored observations. The log-rank test compares survival curves between groups. Cox proportional hazards models analyze the relationship between survival time and variables while adjusting for other factors.