Time-series analysis is mainly used to forecast future values based on the observed values of time series data. Time-series Analysis is used for forecasting from non-stationary data like economic, weather, stock price, sales, etc. Time series can also be used to Time series analysis is used when there is an auto-correlation among the observations in data i.e. an observation depends on the previous observations.
If you are interested in Time Series Analysis, I recommend these data scientist where you can also learn machine learning algorithms along with Time series analysis.