This inquiry seeks an algorithm to determine the distance between two points located in three-dimensional (3D) space. The coordinates of the two points are given as (x1, y1, z1) and (x2, y2, z2). The algorithm should compute and return the Euclidean distance between these points. To provide a comprehensive response, keep in mind the following: Recognize the context: the issue pertains to a three-dimensional space, meaning all points are in 3D. Derive the Euclidean distance formula for 3D: The distance d between two points in 3D can be calculated using the formula: d = sqrt((x2-x1)² + (y2-y1)² + (z2-z1)²). Develop an algorithm that accurately applies this formula.