When to use the batch_key in highly_variable_genes()

Hello, I was reading the readdocs for highly_variable_genes() and i was wondering when to use the batch_key when performing sc Analysis.