If the chapter comes from a book where each chapter is written by a different author(s) and the whole book is compiled by an editor, then you should provide a separate reference for each chapter that you have used.
Book chapter
Referencing multiple chapters from same book
If there are different authors for each chapter, you need to reference EACH chapter you use, because you need to acknowledge who wrote the work you are using, not the person who edited/compiled the book.
If the book does not have chapters written by different authors, you only need to reference the book.
For ebooks, include a DOI (if no DOI, the URL) at the end of the reference.
Chapter from an edited book
Elements of the reference
Author(s) of chapter – last name, initial(s) - use & for multiple authors. (Year). Title of chapter. In Editor(s) – initial(s) and family name - of book (Ed. OR Eds.), Title of book – italicised (pp. Page numbers). Publisher. [If an ebook, include the DOI - if no DOI, use the URL of the ebook provider]
In-text citation
Use the chapter authors, NOT the editors of the book
Treat multiple authors in same format as books
(Rattan, 2019) OR According to Rattan (2019) ...
Reference list - chapter from ebook
Rattan, A. (2019). How lay theories (or mindsets) shape the confrontation of prejudice. In R. K. Mallett & M. J. Monteith (Eds.), Confronting prejudice and discrimination: The science of changing minds and behaviors (pp. 121-140). Academic Press. https://doi.org/10.1016/B978-0-12-814715-3.00008-4
Reference list - chapter from hardcopy book
Parker, J. (2014). Nursing as art and science. In J. Daly, S. Speedy & D. Jackson (Eds.), Contexts of nursing: An introduction (pp. 38-51). Churchill Livingston.