ArcGIS Online credits are used through transactions and storage. Transactions can include workflows such as running spatial analysis or creating infographics in ArcGIS Business Analyst.
To learn more about the different transactions that consume credits visit go.esri.com/credits