Capture the citation from the source you find during a library search. Be sure to review it and make any corrections. These are computer-generated so not always perfect.
Online resources to refer to:
Why is citation important?
Citation is incredibly important in order to give credit to the scholars whose work you have learned from and referenced. Following a prescribed citation style helps other researchers to find these works as well.