# What is PyTorch Lightning? Definition and meaning

A library that organizes training loops, distributed training and logging.

## Definition

**PyTorch Lightning**: A library that organizes training loops, distributed training and logging.

In short: Structure for PyTorch training code.

## When it is used

Cleaner, scalable training code.

## Where it fits

PyTorch Lightning belongs to **Frameworks** in the [Deep learning](/topics/deep-learning) topic. These are the other terms in the same group:

- **[PyTorch](/glossary/pytorch)**: A flexible framework with dynamic computation graphs and strong GPU support.
- **[TensorFlow](/glossary/tensorflow)**: An end-to-end platform with a graph runtime and deployment tooling.
- **[Keras](/glossary/keras)**: A simple API for defining and training neural networks across several backends.
- **[JAX](/glossary/jax)**: A library for array computing with automatic differentiation, JIT compilation and easy parallelism on accelerators.
- **[Hugging Face](/glossary/hugging-face)**: A platform and set of libraries for models, datasets and training tools such as Transformers.

## Learn more

The full guide to **[PyTorch Lightning](/tools/pytorch-lightning)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [PyTorch](/glossary/pytorch) · Next term: [Qdrant](/glossary/qdrant)
