It might be used to provide a reference for a quotation or statement you’ve made, or might contain a digression or discussion of something you’ve just written about.
Academic and non-fiction writers use footnotes to refer to additional text which doesn’t fit into the flow of your paragraph but does need to be included.